/**
 * 文件描述如下：
 * 1. 感知模块的头部静态数据
 * 2.
 * 3.
 * 4.
 */

import menu from '/public/perceivedEffect/menu.png'
import saveHistory from '/public/perceivedEffect/saveHistory.png'
import frameSelect from '/public/perceivedEffect/frameSelect.png'
import uniF0ED from '/public/perceivedEffect/uniF0ED.png'

export const sourceArr = [
  {
    id: 1,
    name: '单杆车流数据',
    path: '/obstacles-pole-fusion',
    dec: '单杆车流数据obstacles-pole-fusion',
  },
  {
    id: 2,
    name: '多杆融合数据',
    path: '/obstacles',
    dec: '多杆融合数据obstacles',
  },
  {
    id: 3,
    name: '相机检测数据',
    path: '/obstacles-pole',
    dec: '相机检测数据/obstacles-pole',
  },
]

export const titleData = [
  {
    id: 0,
    key: 'id',
    dataKey: 'id',
    show: true,
    title: '目标ID',
    width: 120,
  },
  {
    id: 1,
    key: 'source-camera-id',
    dataKey: 'source-camera-id',
    show: true,
    title: '相机ID',
    width: 120,
  },
  {
    id: 2,
    show: true,
    key: 'label',
    dataKey: 'label',
    title: '类型',
    width: 120,
  },
  {
    id: 3,
    show: true,
    key: 'speed',
    dataKey: 'speed',
    title: '速度(km/h)',
    width: 90,
  },
  {
    id: 4,
    show: true,
    key: 'source',
    dataKey: 'source',
    title: '来源',
    width: 80,
  },
  {
    id: 6,
    show: true,
    key: 'theta',
    dataKey: 'theta',
    title: '航向(°)',
    width: 70,
  },
  {
    id: 7,
    show: true,
    key: 'position-x',
    dataKey: 'position-x',
    title: 'X',
    width: 60,
  },
  {
    id: 8,
    show: true,
    key: 'position-y',
    dataKey: 'position-y',
    title: 'Y',
    width: 60,
  },
  {
    id: 9,
    key: 'position-z',
    dataKey: 'position-z',
    show: true,
    title: 'Z',
    width: 60,
  },
  {
    id: 10,
    show: false,
    width: 100,
    key: 'longitude',
    dataKey: 'longitude',
    title: '经度',
  },
  {
    id: 11,
    show: false,
    key: 'latitude',
    dataKey: 'latitude',
    title: '纬度',
    width: 100,
  },
  {
    id: 12,
    show: false,
    key: 'elevation',
    dataKey: 'elevation',
    title: '高程',
    width: 50,
  },
  {
    id: 13,
    show: false,
    key: 'length',
    dataKey: 'length',
    title: '长(m)',
    width: 60,
  },
  {
    id: 14,
    show: false,
    key: 'width',
    dataKey: 'width',
    title: '宽(m)',
    width: 60,
  },
  {
    id: 15,
    show: false,
    key: 'height',
    dataKey: 'height',
    title: '高(m)',
    width: 60,
  },
]

export const topNavList = [
  {
    id: 1,
    show: true,
    title: '车流',
  },
  {
    id: 2,
    show: true,
    title: '表格',
  },
  {
    id: 3,
    show: true,
    title: '视频',
  },
  {
    id: 4,
    show: false,
    title: '图例',
  },
]

export const selectMenuList = [
  {
    id: 1,
    title: '分区显示',
    url: menu,
  },
  {
    id: 2,
    title: '帧率保存',
    url: saveHistory,
  },

  {
    id: 5,
    title: '精选ROI',
    url: frameSelect,
  },
  {
    id: 6,
    title: '导出点云-bmp',
    url: uniF0ED,
  },
]
